﻿using System.IO;
using HeritageAcademy.Models.DataModels;
using HeritageAcademy.Shared;

namespace HeritageAcademy.Models.Loaders
{
    public sealed class CoursesConfigLoader : LoaderBase<CoursesData>
    {
        public CoursesConfigLoader(CoursesData coursesData) : base(coursesData)
        {
            Initialize
                (
                Path.Combine(IOHelper.CommonMetaDataFolder, Shared.Properties.Resources.Application_Config), 
                "courses.conf"
                );
        }
    }
}